package com.echo.code.spring.aop;

import com.echo.code.spring.core.Car;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Description
 *
 * @author baiyp
 * @version 1.0.0
 * @date 2019/04/14
 */
public class AopClient {

  public static void main(String[] args) {
    ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("application.xml");
    Car car = context.getBean("car", Car.class);
    car.describe();
    context.close();
  }
}
